package com.woniu.zsd.permission.service;

import com.woniu.zsd.permission.entity.RolesResource;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-03-27
 */
public interface IRolesResourceService extends IService<RolesResource> {

    int updateRolesResource(Integer id, Integer rolesId, Integer resourceId);

    List<RolesResource> selRolesResource(Integer rolesId);

    int deleteRolesResource(Integer id);

    int addRolesResource(Integer rolesId, Integer resourceId);

    List<RolesResource> findAll();
}
